﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpEdit.aspx.cs" Inherits="Web.EmpEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>人事档案增加/修改</title>
    <base target="_self" />
    <meta content="ie=7" http-equiv="x-ua-compatible">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    
	<link rel="stylesheet" type="text/css" href="Content/css/icons.css" />
	<link rel="stylesheet" type="text/css" href="Content/css/backMgr.css" />

    <script src="Scripts/yetii.js" type="text/javascript"></script>

    <style>
        body{width:820px;margin:6px auto;}
        .tab{
            clear: left;
            border: 1px solid #CCC;border-top: 0;
            padding:0;margin:0;
        }
        #tab-container-1-nav{margin:0;list-style-type: none;width: 100%;float: left;background: url(images/pixel.gif) bottom left repeat-x;}
        #tab-container-1-nav li {
            margin: 0 2px 0 0;float: left;
        }
        #tab-container-1-nav a {
            float: left;
            display: block;
            padding: 4px 8px;
            border: 1px solid #CCC;
            border-bottom: 0;
            color: #666;
            background: #EEE;
            text-decoration: none;
            font-weight: bold;font-size:12px;
        }
        #tab-container-1-nav a.active {background: white;padding-bottom: 5px;cursor: default;color: blue;}
        
        iframe{width:100%;height:580px;}
        #tab2{height:500px;}
    </style>
<script>
    //取get参数
    function getArg() {
        var url = unescape(window.location.href);
        var allArgs = url.split("?")[1];
        if (allArgs != null) {
            var args = allArgs.split("&");
            for (var i = 0; i < args.length; i++) {
                var arg = args[i].split("=");
                eval('this.' + arg[0] + '="' + arg[1] + '";');
            }
        }
    }
    var urlArg = new getArg();
    var empId = urlArg.empId;
</script>
</head>
<body>
<div id="tab-container-1">

    <ul id="tab-container-1-nav">
        <li class="activeli"><a class="active" href="#tab1">基本资料</a></li>
        <li><a href="#tab2">部门职位</a></li>
        <li><a href="#tab3">工作经历</a></li>
        <li><a href="#tab4">教育经历</a></li>
        <li><a href="#tab5">家庭成员</a></li>
        <li><a href="#tab6">培训记录</a></li>
        <li><a href="#tab7">奖惩记录</a></li>
        <li><a href="#tab8">合同记录</a></li>
        <li><a href="#tab9">考核记录</a></li>
        <li><a href="#tab10">调动晋升</a></li>
    </ul>

    <div class="tab" id="tab1">
        <script>
            document.write('<iframe src="EmpBasicInfoTab.aspx?empId='+empId+'" frameborder=0></iframe>');
        </script>
    </div>
    <div class="tab" id="tab2">
        <script>
            document.write('<iframe src="EmpDeptPosition.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script></div>
    <div class="tab" id="tab3">
        <script>
            document.write('<iframe src="EmpWorkList.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script></div>
    <div class="tab" id="tab4">
        <script>
            document.write('<iframe src="EmpEduList.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script></div>
    <div class="tab" id="tab5">
        <script>
            document.write('<iframe src="EmpFamlist.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script>
    </div>
    <div class="tab" id="tab6">
        <script>
            document.write('<iframe src="EmpTrainlist.aspx?empId=' + empId + '" frameborder="0"></iframe>');
        </script>
    </div>
    <div class="tab" id="tab7">
        <script>
            document.write('<iframe src="EmpAwardlist.aspx?empId=' + empId + '" frameborder="0"></iframe>');
        </script>
    </div>
    <div class="tab" id="tab8">
        <script>
            document.write('<iframe src="EmpContractList.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script></div>
    <div class="tab" id="tab9">
        <script>
            document.write('<iframe src="EmpExamList.aspx?empId=' + empId + '" frameborder=0></iframe>');
        </script>
    </div>
    <div class="tab" id="tab10">
        <script>
            document.write('<iframe src="EmpPromotionList.aspx?empId=' + empId + '" frameborder=0></iframe>');
            var tabber1 = new Yetii({
                id: 'tab-container-1'
            });
        </script></div>
</div>
</body>
</html>